package com.gxa.security.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.security.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
* @author 25688
* @description 针对表【menu】的数据库操作Mapper
* @createDate 2023-04-08 09:40:53
* @Entity generator.domain.Menu
*/
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * 查询当前角色的权限
     * @param roleId
     * @return
     */
    List<Menu> findMenuListByRoleId(Integer roleId);
}




